/**
 * 
 */
package cn.hbu.zlfw.exchange.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.hbu.zlfw.common.base.service.impl.BaseServiceImpl;
import cn.hbu.zlfw.common.util.PageModel;
import cn.hbu.zlfw.exchange.dao.ChatDao;
import cn.hbu.zlfw.exchange.entity.Chat;
import cn.hbu.zlfw.exchange.entity.Poster;
import cn.hbu.zlfw.exchange.service.ChatService;
import cn.hbu.zlfw.exchange.service.PosterService;

/**
 * @ClassName: ChatService
 * @Description: 在线交流service接口实现
 * @author tiddar
 * @date 2018年8月21日
 *
 */
@Service("chatService")
@Transactional
public class ChatServiceImpl extends BaseServiceImpl<Chat, String> implements ChatService {

	@Autowired
	private ChatDao chatDao;
	/* (non-Javadoc)
	 * @see cn.hbu.zlfw.exchange.service.PosterService#listPostToPatent(cn.hbu.zlfw.common.util.PageModel, java.lang.String, java.lang.String)
	 */
	@Override
	public PageModel<Chat> listChatToPatent(PageModel<Chat> pageModel, String patentId) {
		// TODO Auto-generated method stub
		return this.chatDao.listChatToPatent(pageModel, patentId);
		
	}

}
